MODNAME = kprobe_util
obj-m += $(MODNAME).o
EXTRA_CFLAGS = -Wall

.PHONY: all
all: $(MODNAME).c
	make -C /lib/modules/`uname -r`/build/ M=`pwd` modules

.PHONY: clean
clean:
	make -C /lib/modules/`uname -r`/build/ M=`pwd` clean
	$(RM) Module.markers
	$(RM) modules.order
